<?php

include_once("class_lib.php");

$ctrl = new controller();

if (isset($_POST["tagName"]) && isset($_POST["itemName"]))
{
	$result = $ctrl->tagItem($_POST["tagName"], $_POST["itemName"]);
	
	print json_encode($result);
}

?>